<!--
  @author yangjiangming
  @date 2018/11/26 10:00
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>快捷下单</title>

    <th:block th:replace="common/common :: jscss" />
</head>

<body>

    <div class="layui-fluid new-order-page" id="omsApp">
        <div class="layui-card">
            <form method="post" class="layui-form" lay-filter="zmn-order-add-form">
                <input type="hidden" name="orderId" id="orderId" th:value="${orderInfo.orderId}" />
                <input type="hidden" id="platWork" th:value="${orderInfo.platWork}" />
                <input type="hidden" name="plat" id="plat" th:value="${orderInfo.plat}" />
                <input type="hidden" name="bizType" id="bizType" th:value="${orderInfo.bizType}" />
                <input type="hidden" name="longitude" id="longitude" />
                <input type="hidden" name="latitude" id="latitude" />
                <input type="hidden" name="receiveEntranceId" id="receiveEntranceId" value="1002" />
                <input type="hidden" id="district" />
                <input type="hidden" name="productShowType" id="productShowType" value="2" />
                <input type="hidden" name="requestId" id="requestId"  th:value="${orderInfo.requestId}" />
                <!--<input type="hidden" name="servItemType" id="servItemType" th:value="1" />-->
                <!-- 新单 -->
                <input type="hidden" name="type" id="type" th:value="1" />

                <!--预分配服务商-->
                <input type="hidden" id="preManageCompanyId" name="preManageCompanyId">
                <input type="hidden" id="preManageCompanyName" name="preManageCompanyName">
                <!--地址info-->
                <input type="hidden" id="streetSource" name="streetSource" value="0">
                <input type="hidden" id="communityId">
                <!--<div class="layui-card-header" style="margin-top:10px;"><b>基本信息</b></div>-->
                <div class="layui-split">&nbsp;</div>

                <div>
                    <!-- 用户电话、姓名 -->
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label layui-form-required">用户电话</label>
                            <div class="layui-input-inline" style="width: 200px;">
                                <!-- 用户电话1 -->
                                <th:block th:replace="common/_orderAddTmpl :: inputOfTel" />
                                <div class="layui-form-mid layui-word-aux order-count" style="position: absolute; left: 103%;top: 0; color: red !important;" th:id="${#authPermit.checkMenuPermit('/customerservice/work/list.action')?'order_count_tel1':''}"></div>
                            </div>
                            <div class="layui-input-inline" style="width:244px;margin-left:69px;">
                                <!-- 用户电话2 -->
                                <input class="layui-input" id="telephone2" type="text" name="telephone2" lay-verify="tel" placeholder="电话02" autocomplete="off">
                                <div class="layui-form-mid layui-word-aux order-count" style="position: absolute; left: 103%;top: 0; color: red !important;"></div>
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">客户姓名</label>
                            <div class="layui-input-inline" style="width: 200px;">
                                <th:block th:replace="common/_orderAddTmpl :: inputOfUserNameForSimpleAdd" />
                            </div>
                        </div>
                    </div>
                    <!-- 营销店铺 -->
                    <div class="layui-form-item">
                        <label class="layui-form-label" id="externalShopLabel">外部平台店铺</label>
                        <div class="layui-input-inline" style="width: 525px;">
                            <div id="externalShopInfo"></div>
                        </div>
                    </div>
                    <!-- 下单合作 -->
                    <div class="layui-form-item">
                        <label class="layui-form-label layui-form-required">下单合作</label>
                        <div class="layui-input-inline" style="width: 200px">
                            <select id="channelId" name="channelId" lay-verify="required" lay-filter="channelId" lay-search>
                            <option value=""></option>
                            <option th:each="channel : ${channelList}"
                                    th:value="${channel.value}"
                                    th:text="|${channel.text}-${channel.value}|"
                                    th:plat="${channel.ext1}"
                                    th:disabled="${channel.disabled}">
                            </option>
                        </select>
                        </div>

                        <label class="layui-form-label" style="width: 56px;margin-left:-16px;">来源合作</label>
                        <div class="layui-input-inline" style="width: 244px;">
                            <select id="sourceChannelId" name="sourceChannelId" lay-filter="sourceChannelId" lay-search>
                            <option value=""></option>
                            <option th:each="channel : ${sourceChannelList}"
                                    th:value="${channel.value}"
                                    th:text="|${channel.text}-${channel.value}|">
                            </option>
                        </select>
                        </div>
                    </div>
                    <!-- 用户地址-省、市 -->
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label layui-form-required">用户地址</label>
                            <div class="layui-input-inline" style="width: 200px;">
                                <select id="provinceId" name="provinceId" lay-verify="required" lay-filter="province" lay-search>
                                <option value="">省</option>
                                <option th:each="province : ${provinceList}" th:value="${province.value}"
                                        th:text="${province.text}"></option>
                            </select>
                            </div>
                            <div class="layui-input-inline select-city">
                                <select id="cityId" name="cityId" lay-verify="required" lay-filter="city" lay-search>
                                <option value="">市</option>
                                <option th:selected="item.id==446000" th:each="item : ${cityList}"
                                        data-th-data-pid="${item.pid}" th:value="${item.value}" th:text="${item.text}">
                                </option>
                            </select>
                            </div>
                            <div v-show="list.length-removeList.length==1" class="layui-form-mid layui-word-aux"><span id="company" class="company"></span></div>
                            <a v-show="list.length-removeList.length==1" class="layui-form-mid zmn-btn-text" id="preCompany"></a>
                            <div class="layui-form-mid layui-word-aux layui-hide" id="gridCompany"></div>
                        </div>
                    </div>

                    <!-- 用户地址-区县、街道 -->
                    <div id="fuzzy-address" class="layui-form-item  layui-hide">
                        <div class="layui-inline">
                            <label class="layui-form-label"></label>
                            <div class="layui-input-inline" style="width: 200px;">
                                <select id="countyId" name="countyId" lay-filter="countyId" lay-search>
                                <option value="">请选择区县</option>
                            </select>
                            </div>
                            <div class="layui-input-inline select-city">
                                <select id="streetId" name="streetId" lay-filter="streetId" lay-search>
                                <option value="">请选择乡镇或街道</option>
                            </select>
                            </div>
                        </div>
                    </div>

                    <!-- 用户地址-map -->
                    <div id="exact-address" class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label"></label>
                            <div class="layui-input-inline input-large" id="street-wrapper">
                                <input class="layui-input" id="customerAddress" type="text" name="street" th:value="${orderInfo.street}" lay-verify="required" placeholder="搜索地点，选择小区，街道，大厦..." autocomplete="off" style="padding-right: 95px;">
                                <!--搜索建议-->
                                <button class="layui-btn layui-btn-normal" id="btn-map" type="button" style="position: absolute;top: 0;right: 0;">百度地图</button>
                                <div id="suggestPanel" class="suggestPanelBox layui-anim layui-anim-upbit">
                                    <ul></ul>
                                </div>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <div class="layui-input-inline" id="county-list">
                            </div>
                        </div>
                    </div>
                    <!-- 用户地址-门牌 -->
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label"></label>
                            <div class="layui-input-inline input-large">
                                <input class="layui-input" type="text" name="address" maxlength="100" placeholder="请输入详细楼栋、门牌号" lay-verify="required" autocomplete="off">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <!-- 疫情插入 -->
                            <div id="divEpidemicControlTip"  class="layui-input-inline"></div>
                        </div>
                    </div>
                    <!-- 切换精确地址与模糊地址 -->
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label"></label>
                            <div class="layui-input-inline input-large">
                                <a class="btn-duty-time" id="address-type-exact" href="javascript:void(0);">无法找到精确地址</a>
                                <a class="btn-duty-time layui-hide" id="address-type-fuzzy" href="javascript:void(0);">切换为精确地址</a>
                            </div>
                        </div>
                    </div>
                <!-- 服务分类、服务产品 -->
                <div class="item_content" >
                    <div v-for="(item,index) in list" :key="index" class="item_border layui-form" :lay-filter="'servCategoryA'+index" v-if="checkRemove(index)">
                        <input type="hidden" :name="'servItemType'+index" :id="'servItemType'+index" th:value="1"/>
                        <input type="hidden" :name="'maxProductCount'+index" :id="'maxProductCount'+index" th:value="1"/>
<!--                        <input type="hidden" :name="'distributeMasterId'+index" :id="'distributeMasterId'+index"/>-->
<!--                        <input type="hidden" :name="'distributeMasterLog'+index" :id="'distributeMasterLog'+index"/>-->
<!--                        <input type="hidden" :name="'distributeJsonStr'+index" :id="'distributeJsonStr'+index"/>-->
                        <div class="layui-form-item">
                            <div class="layui-inline"  >
                                <label class="layui-form-label layui-form-required">服务分类</label>
                                <div class="layui-input-inline" style="width: 200px;">
                                    <select :id="'servCategoryId'+index" class="layui-form"  :name="'servCategId'+index" lay-verify="required" :lay-filter="'servCategory'+index" lay-search>
                                        <option value="">全部</option>
                                        <option th:each="item : ${servCategList}"
                                                th:value="${item.value}"
                                                th:text="${item.text}"
                                                th:selected="${item.value == orderInfo.servCategId}"
                                                data-th-data-pid="${ item.pid }">
                                        </option>
                                    </select>
                                </div>

                                <label class="layui-form-label layui-form-required" >产品类型</label>
                                <div class="layui-input-inline" style="width: 230px;">
                                    <input type="radio"
                                           :gotype="index"
                                           :name="'productShowType'+index"
                                           th:each="item : ${productShowType}"
                                           th:value="${item.value}"
                                           th:title="${item.text}"
                                           th:checked="${item.value} == 2"
                                           lay-verify="required"
                                           lay-filter="product-showtype">
                                </div>

                            </div>
                        </div>
                        <!-- 服务产品、产品数量、品牌 -->
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label layui-form-required" >服务产品</label>

                                <div class="layui-input-inline layui-hide" style="width: 200px;" :id="'dv-show-product'+index">
                                    <select class="product-select"
                                            :name="'showProductId'+index"

                                            :id="'showProduct'+index"
                                            :lay-filter="'product'+index"
                                            lay-search>
                                        <option value="">请选择</option>
                                    </select>
                                </div>

                                <div class="layui-input-inline " style="width: 200px;" :id="'dv-product'+index">
                                    <select class="product-select"

                                            :name="'productId'+index"
                                            :id="'product'+index"
                                            :lay-filter="'product'+index"
                                            lay-search>
                                        <option value="">请选择</option>
                                        <option th:each="item : ${servProductList}"
                                                th:value="${item.value}"
                                                th:text="${item.text}"
                                                th:selected="${item.value == orderInfo.productId}"
                                                data-th-data-unit="${ item.ext1 }"
                                                data-th-data-type="${ item.type }"
                                                data-th-data-pid="${ item.pid }">
                                        </option>
                                    </select>
                                </div>

                                <label class="layui-form-label layui-form-required" >产品数量</label>
                                <div class="layui-input-inline input-mini">
                                    <input class="layui-input"
                                           :name="'number'+index"
                                           :id="'count'+index"
                                           type="text"
                                           placeholder="数量"
                                           autocomplete="off"
                                           min="1"
                                           max="10"
                                           lay-verify="required|count"
                                           style="padding-right: 40px">
                                    <span class="order-number-unit" :id="'unit'+index"></span>
                                </div>
                                <div class="layui-input-inline input-mini">
                                    <select  :id="'brand'+index" :name="'brandId'+index"  :lay-filter="'brand'+index" lay-search>
                                        <option value="">品牌</option>
                                        <option th:each="item : ${brandList}" th:value="${item.value}" th:text="${item.text}"></option>
                                    </select>
                                </div>
                                <div class="layui-inline">
                                    <span :id="'sameNumber'+index" data-phone="" data-servCategId=""></span>
                                </div>

                                <div class="layui-input-inline" :id="'order-duplicate-tips'+index" style="color: red;width:auto"></div>
                            </div>
                        </div>
                        <!-- 报价方式 -->
                        <div class="layui-form-item" id="quoteTypeDiv" style="display: none">
                            <div class="layui-inline"  >
                                <label class="layui-form-label layui-form-required" >报价方式</label>
                                <div class="layui-input-inline" style="width: 300px;">
                                    <input type="radio"
                                           name='quoteType'
                                           id="quoteTypeFaultPhen"
                                           value="1"
                                           title="故障现象报价"
                                           lay-verify="required"
                                           lay-filter="quoteType"
                                    class="layui-input-inline">
                                    <input type="radio"
                                           id="quoteTypeServiceItem"
                                           name='quoteType'
                                           value="2"
                                           title="服务项报价"
                                           lay-verify="required"
                                           lay-filter="quoteType"
                                           class="layui-input-inline">
                                </div>

                            </div>
                        </div>
                        <!-- 服务项目 -->
                        <div class="layui-form-item" id="serviceItemDiv" style="display: none">
                            <label class="layui-form-label layui-form-required">服务项目</label>
                            <div class="layui-input-inline" style="width: 200px">
                                <select id="serviceItem" name="itemId" lay-verify="serviceItem" lay-filter="serviceItem" lay-search>
                                    <option value=""></option>
                                </select>
                            </div>
                        </div>
                        <!-- 故障现象 -->
                        <div class="layui-form-item" id="faultPhenDiv" style="display: none;width: 600px">
                            <label class="layui-form-label layui-form-required">故障现象</label>
                            <div class="layui-input-block fault-block" id="faultPhen">

                            </div>
                        </div>
                        <!-- 产品类别 -->
                        <div class="layui-form-item line_dan" id="productCategDiv" style="display: none">
                            <label class="layui-form-label layui-form-required productCategTip">产品类别</label>
                            <div class="layui-block">
                                <div class="layui-input-inline" id="productCateg">
                                </div>
                            </div>
                        </div>
                        <!-- 产品型号 -->
                        <div class="layui-form-item line_dan" id="productNameDiv" style="display: none">
                            <label class="layui-form-label layui-form-required quoteProductTip">产品型号</label>
                            <div class="layui-input-inline" id="quoteProduct">
                            </div>
                        </div>

                        <div id="advanceQuotePrice" class="advanceQuotePrice" style="display: none">
                            <iframe id="advanceQuotePriceTable" class="advanceQuotePriceTable">
                            </iframe>
                        </div>

                        <!-- 其他故障 -->
                        <div class="layui-form-item otherFault">
                            <div class="layui-inline">
                                <label class="layui-form-label">其他故障</label>
                                <div class="layui-input-inline textarea-new-order">
                                        <textarea :id="'fault-remark'+index" :name="'faultRemark'+index" placeholder="最长不能超300个字"
                                                  class="layui-textarea" maxlength="300" lay-verify="maxLenTo300"></textarea>
                                </div>
                            </div>
                        </div>
                        <!-- 应付总价 -->
                        <div class="layui-form-item" :id="'amount-wrapper'+index" style="display: none;">
                            <div class="layui-inline">
                                <label class="layui-form-label">价格</label>
                                <div class="layui-input-inline layui-inline-text" :id="'amount-detail'+index" style="width:auto;display: none;">
                                    <span :id="'amount'+index" style="color: red;"></span>&nbsp;&nbsp;
                                    总价<span :id="'totalAmount'+index" style="color: red;"></span>
                                    <button class="layui-btn" style="padding: 0;"></button>
                                </div>
                                <div class="layui-input-inline layui-inline-text" :id="'amount-others'+index">
                                    <a class="btn-duty-time" id="btn-price-table" @click="readPriceFunc(index)" href="javascript:void(0);">查看价格表</a>
                                    <button class="layui-btn" style="padding: 0;"></button>
                                </div>
                                <div class="layui-input-inline layui-inline-text" :id="'amount-quotation'+index" style="display: none;">
                                    <span>计价器工单，用户根据故障自行报价</span>
                                    <a class="btn-duty-time" id="btn-price-fault" @click="readPriceFunc(index)"  href="javascript:void(0);">查看价格表</a>
                                    <button class="layui-btn" style="padding: 0;"></button>
                                </div>
                                <div class="layui-input-inline layui-inline-text" :id="'amount-advance-pay'+index" style="display: none;">
                                    <span>提前付工单，用户根据故障自行报价</span>
                                    <a class="btn-duty-time" id="btn-price-advance-pay" @click="readPriceFunc(index)"  href="javascript:void(0);">查看价格表</a>
                                    <button class="layui-btn" style="padding: 0;"></button>
                                </div>
                                <div class="layui-input-inline layui-inline-text" :id="'amount-quotation-three'+index" style="display: none;">
                                    <span :id="'amount-quotation-three-text'+index"></span>
                                    <a class="btn-duty-time" id="btn-price-quotation-three" @click="readPriceFunc(index)"  href="javascript:void(0);">查看价格表</a>
                                    <button class="layui-btn" style="padding: 0;"></button>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item" :id="'discount-wrapper'+index" style="display: none;">
                            <div class="layui-inline">
                                <label class="layui-form-label">优惠</label>
                                <div class="layui-input-inline layui-inline-text" :id="'no-discount'+index"
                                     style="display: none;">
                                    <span>无满足条件的促销活动和优惠券</span>
                                </div>
                                <div class="layui-input-inline layui-inline-text"  style="color:red">
                                    <span :id="'used-discount'+index"></span>
                                </div>
                                <div class="layui-input-inline layui-inline-text" :id="'discount'+index">
                                    <a class="btn-duty-time" id="btn-discount" @click="readDiscountFunc(index)"
                                       href="javascript:void(0);">查看优惠信息</a>
                                    <button class="layui-btn" style="padding: 0;"></button>
                                </div>
                            </div>
                        </div>
                        <!-- 最大优惠 -->
                        <div class="layui-form-item duty-time-item" :id="'max-discount-div'+index" style="display: none;">
                            <label class="layui-form-label"></label>
                            <div class="layui-input-inline" style="width:440px">
                                <input :id="'send-discount-checkbox'+index" type="checkbox" lay-skin="primary" :name="'sendDiscountFlag'+index" :lay-filter="'sendDiscountFlag'+index" style="color: red !important;">
                            </div>
                        </div>
                        <div :id="'show-discount-div'+index" style="margin-left: 100px;" class="hidden">
                        </div>
                        <!-- 预约时间 -->
                        <div class="layui-form-item duty-time-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">预约时间</label>
                                <div class="layui-input-inline layui-inline-text" :id="'duty-time-wrapper'+index">
                                    <span :id="'duty-time'+index" th:text="${dutyTime}"></span>
                                    <a @click="chooseTimeFunc(index)" class="btn-duty-time" href="javascript:void(0);">选择预约时间</a>
                                    <button class="layui-btn" style="padding: 0;"></button>
                                    <input :id="'duty-time-input'+index"
                                           type="hidden"
                                           :name="'dutyTime'+index"
                                           th:value="${dutyTime}"
                                           lay-verify="dutyTime"
                                           style="padding: 0;">
                                </div>
                                <div class="layui-input-inline">
                                    <input
                                    :id="'duty-time-checkbox'+index"
                                           type="checkbox"
                                           lay-skin="primary"
                                           name=""
                                           :lay-filter="'duty-time-checkbox'+index"
                                           title="客户不确定上门时间">
                                </div>
                                <div class="layui-input-inline">
                                    <div class="layui-input-inline-text text-red" :id="'gird-group-distribute-master'+index"></div>
                                </div>
                           <!--     <div class="layui-input-inline">
                                    <div class="layui-input-inline-text text-red" :id="'auto-distribute-time'+index"></div>
                                </div>
                                <div class="layui-input-inline">
                                    <div style="margin-left: 33px;" class="layui-input-inline-text text-red" :id="'distribute-master'+index"></div>
                                </div>-->
                            </div>
                        </div>

                        <div class="layui-form-item" v-show="list.length-removeList.length>1">
                                <label class="layui-form-label"></label>
                                <div class="layui-input-block">
                                    <div>
                                        <span id="removebtn" style="text-decoration: underline;color: #009688;cursor: pointer;" @click="removeFunc(index)">删除此产品</span>
                                    </div>
                                </div>
                            </div>
                    </div>
                </div>
                <div id="channelPrepayType" class="layui-hide">
                    <!-- 录入预付款 -->
                    <div class="layui-form-item">
                        <label class="layui-form-label">录入预付款</label>
                        <div class="layui-input-block" >
                            <input type="radio"
                                   name="channelPrepayRadio"
                                   lay-filter="channelPrepayRadio"
                                   title="是"
                                   value="2">
                            <input type="radio"
                                   name="channelPrepayRadio"
                                   lay-filter="channelPrepayRadio"
                                   title="否"
                                   checked
                                   value="1">
                        </div>
                    </div>
                    <div id="channelPrepay" class="layui-hide">
                    <!-- 预付款金额 -->
                        <div class="layui-form-item">
                            <label class="layui-form-label">实收金额</label>
                            <div class="layui-input-inline" style="width: 200px;">
                                <input class="layui-input"
                                       id="channelPrepayAmount"
                                       type="text"
                                       lay-verify="channel-amount"
                                       name="channelPrepayAmount"
                                       autocomplete="off" >
                            </div>
                        </div>
                        <div id="prepayAmountList">

                        </div>
                    <!-- 预付款凭证 -->
                    <div class="layui-form-item">
                        <label class="layui-form-label">预付款凭证</label>
                        <div class="layui-inline" style="width: 200px;">
                            <input class="layui-input"
                                   id="prepayImage"
                                   type="text"
                                   name="prepayImage"
                                   placeholder="（粘贴图片至此处或点击上传）"
                                   autocomplete="off" >
                        </div>
                        <div class="layui-input-block layui-col-space10" style="padding-top: 5px;">
                            <div class="layui-col-md2">
                                <div class="layui-inline">
                                    <div class="layui-upload-drag" id="channelPrepayCertificateImgSrc"
                                         style="position: relative;">
                                        <div>
                                            <input type="hidden" class="att-img-url"
                                                   id="channelPrepayCertificateImgSrcValue" name="channelPrepayCertificateSrc">
                                            <i id="upload-icon" class="layui-icon"></i>
                                            <p id="upload-p">点击上传</p>
                                            <img id="channelPrepayCertificateImgSrcValues">
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <i class="layui-icon layui-icon-search btn-review"></i><br>
                                    <i class="layui-icon layui-icon-delete btn-delete"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item" id="addProduct">
                <label class="layui-form-label"></label>
                <div class="layui-input-block">
                    <div>
                        <span id="addbtn" style="text-decoration: underline;color: #009688;cursor: pointer;"  @click="addFunc" >新增产品</span>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">常见备注</label>
                <div class="layui-input-block">
                    <th:block th:if="${commonRemarkList != null }">
                        <input type="checkbox" name="commonRemark" th:each="remark:${commonRemarkList}" th:title="${remark.text}" th:value="${remark.value}"/>
                    </th:block>
                </div>
            </div>

                <!-- 下单备注 -->
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">网聊记录</label>
                        <div class="layui-input-inline textarea-new-order">
                            <textarea class="layui-textarea" name="operatorRemark" id="remark" maxlength="5000" placeholder="最长不能超5000个字"></textarea>
                        </div>
                        <!--                    <span style="color: red;">注意：此处备注工程师APP、用户可见。</span>-->
                    </div>
                </div>
                <!-- 下单标志 -->
                <div class="layui-form-item" th:if="${#authPermit.checkPermit('/order/normal/simpleAdd/test.action')}">
                    <div class="layui-inline">
                        <label class="layui-form-label">下单标志</label>
                        <div class="layui-input-inline" style="width: 230px">
                            <input type="radio" name="test" lay-verify="radio" th:value="1" th:title="正常工单" lay-filter="test-change" th:checked="true" />
                            <input type="radio" name="test" lay-verify="radio" th:value="2" lay-filter="test-change" th:title="测试工单" />
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" id="outerIdLabel">渠道单号：</label>
                        <div class="layui-input-inline">
                            <input class="layui-input" id="outerId" type="text" lay-verify="outerId" name="outerId" autocomplete="off" maxlength="32">
                        </div>
                    </div>
                </div>

                <!-- 按钮 -->
                <div class="layui-form-item">
                    <label class="layui-form-label"></label>
                    <div class="layui-input-block">
                        <div>
                            <button id="confirmbtn" type="button" class="layui-btn" lay-submit lay-filter="confirmbtn">保存</button>
                            <button id="sendOrderTransferFailMessageBtn" type="button" style="display: none" class="layui-btn">发送挽留短信</button>
                            <span id="tips" style="color: red"></span>
                            <span id="spanEpidemicControlTip"></span>
                            <!--<button type="reset" class="layui-btn layui-btn-primary" >重置</button>-->
                        </div>
                    </div>
                </div>
                <div style="height: 1px"></div>
            </form>
        </div>
    </div>
    <script type="text/html" id="btns">
        <a class="layui-btn layui-btn-xs" lay-event="del">删除</a>
    </script>
    <script th:inline="javascript">
        var json = {
            servProductList: [[${servProductList}]],
            cityList: [[${cityList}]],
            channelList: [[${channelList}]]
        };

        var addOrderWebAk = [[${#baiduAkUtil.getAddOrderWebAk()}]];
        var specialFaultPhenId = [[${specialFaultPhenId}]];

        layui.config({
            base: "/static/js/module/",
            version: 20221013001
        }).extend({
            oms_order_simpleAdd: "order/zmn.oms.order.simpleAdd"
        }).use(['index', 'oms_order_simpleAdd']);
</script>

</body>

</html>